package com.aloda.ojquestion.pojo.vo;

import cn.hutool.core.bean.BeanUtil;
import com.aloda.ojcommon.domain.entity.QuestionSubmit;
import lombok.Data;

/**
 * @Author aloda
 * @Date 2025/4/28 15:53
 */
@Data
public class QuestionSubmitVO {

    /**
     * questionSubmitId
     */
    private Long id;

    public static QuestionSubmitVO of(QuestionSubmit questionSubmit) {
        QuestionSubmitVO questionSubmitVO = BeanUtil.toBeanIgnoreError(questionSubmit, QuestionSubmitVO.class);
        return questionSubmitVO;
    }
}
